package com.zjjt.dc.modules.datacatch.service.impl;

import cn.hutool.json.JSONArray;
import com.zjjt.dc.modules.datacatch.entity.QueryCondition;
import com.zjjt.dc.modules.datacatch.service.IDataExportService;
import com.zjjt.dc.modules.datacatch.service.lw.ILWDataExportService;
import com.zjjt.dc.modules.datacatch.service.lw.impl.LWDataExportService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class DataExportService implements IDataExportService {

    @Autowired
    private ILWDataExportService lwDataExportService;


    @Override
    public JSONArray getExportDataForLW(QueryCondition condition) {
        return lwDataExportService.getDataByCondition(condition);

    }
}
